/*
 * Global.h
 *
 *  Created on: Feb 21, 2024
 *      Author: hzy
 */

#ifndef USER_GLOBAL_H_
#define USER_GLOBAL_H_

#define ERROR_UPDATE_SENSOR_ID  0x01
#define ERROR_UPDATE_NORMAL_STANDBY_TIMES 0x02
#define ERROR_UPDATE_CRITICAL_STANDBY_TIMES 0x03

#define ERROR_SENSOR_ID_INVALID 0xF000
#define ERROR_COMMAND_ID_INVALID 0xF001

#define TRUE  1
#define FALSE 0

extern uint16_t __SensorId;
extern uint16_t __NormalStandByTimes;
extern uint16_t __CriticalStandByTimes;

extern uint16_t __StandByTimes;

extern uint8_t __StatusUpdated;



#endif /* USER_GLOBAL_H_ */
